export default {
  ruless: true,
  educationData: {
    title: '教育经历（从本科填起）',
    image: 'images/theory.png',
    isSubmit: true,
    data: [],
    columns: [
      {
        prop: 'degree',
        label: '学位',
        type: 'textarea',
        edit: true,
        rules: [{ required: false }],
        disabled: false,

        attr: {
          width: '110px'
        }
      },
      {
        disabled: false,
        prop: 'startDate',
        label: '起始时间',
        format: 'xxxx-xx-xx',
        type: 'textarea',
        edit: true,
        rules: [{ required: false }],
        attr: {
          width: '150px'
        }
      },
      {
        disabled: false,
        prop: 'endDate',
        label: '终止时间',
        format: 'xxxx-xx-xx',
        type: 'textarea',
        edit: true,
        rules: [{ required: false }],
        attr: {
          width: '150px'
        }
      },
      // {
      //   disabled: false,
      //   prop: 'location',
      //   label: '国家或地区',
      //   type: 'textarea',
      //   edit: true,
      //   rules: [{ required: false }],
      //   attr: {
      //     width: '150px'
      //   }
      // },
      {
        disabled: false,
        prop: 'major',
        label: '院校专业',
        type: 'textarea',
        edit: true,
        rules: [{ required: false }]
      },
      {
        disabled: false,
        prop: 'tutor',
        label: '导师',
        type: 'textarea',
        edit: true,
        rules: [{ required: false }],
        attr: {
          width: '150px'
        }
      },
      {
        prop: 'opt',
        label: '操作',
        edit: true,
        attr: {
          width: '50px'
        }
      }
    ]
  },
  workData: {
    title: '工作经历',
    image: 'images/work.png',
    data: [],
    columns: [
      {
        prop: 'unit',
        label: '工作单位',
        type: 'textarea',
        edit: true,
        rules: [{ required: false }],
        disabled: false
        // attr: {
        //   width: '400px'
        // }
      },
      {
        prop: 'startDate',
        label: '起始时间',
        format: 'xxxx-xx-xx',
        type: 'textarea',
        edit: true,
        disabled: false,
        rules: [{ required: false }],
        attr: {
          width: '150px'
        }
      },
      {
        prop: 'endDate',
        label: '终止时间',
        format: 'xxxx-xx-xx',
        type: 'textarea',
        edit: true,
        disabled: false,
        rules: [{ required: false }],
        attr: {
          width: '150px'
        }
      },
      // {
      //   prop: 'location',
      //   label: '国家或地区',
      //   type: 'textarea',
      //   edit: true,
      //   disabled: false,
      //   rules: [{ required: false }],
      //   attr: {
      //     width: '200px'
      //   }
      // },
      {
        prop: 'post',
        label: '职称',
        type: 'textarea',
        edit: true,
        disabled: false,
        rules: [{ required: false }],
        attr: {
          width: '170px'
        }
      },
      {
        prop: 'partTime',
        label: '职务',
        type: 'textarea',
        edit: true,
        disabled: false,
        rules: [{ required: false }],
        attr: {
          width: '170px'
        }
      },
      {
        prop: 'opt',
        label: '操作',
        edit: true,
        attr: {
          width: '50px'
        }
      }
    ]
  },
  fieldList: {
    workTableForm: {
      工作单位: 'unit',
      起始时间: 'startDate',
      终止时间: 'endDate',
      // 国家或地区: 'location',
      职称: 'post',
      职务: 'partTime',
    },
    educationTableForm: {
      学位: 'degree',
      起始时间: 'startDate',
      终止时间: 'endDate',
      // 国家或地区: 'location',
      院校专业: 'major',
      导师: 'tutor'
    }
  }
}
